package org.hibernate.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * AdminGrants entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class AdminGrants implements java.io.Serializable {

	// Fields

	private Integer id;
	private AdminGrants adminGrants;
	private String grantName;
	private String description;
	private String grantHref;
	private Integer grantType;
	private String grantIcon;
	private String htmlId;
	private Set adminGrantses = new HashSet(0);
	private Set adminGrantsOperates = new HashSet(0);

	// Constructors
	public String getHtmlId() {
		return htmlId;
	}

	public void setHtmlId(String htmlId) {
		this.htmlId = htmlId;
	}

	/** default constructor */
	public AdminGrants() {
	}

	/** full constructor */
	public AdminGrants(AdminGrants adminGrants, String grantName,
			String description, String grantHref, Integer grantType,
			String grantIcon, String htmlId, Set adminGrantses,
			Set adminGrantsOperates) {
		this.adminGrants = adminGrants;
		this.grantName = grantName;
		this.description = description;
		this.grantHref = grantHref;
		this.grantType = grantType;
		this.grantIcon = grantIcon;
		this.adminGrantses = adminGrantses;
		this.adminGrantsOperates = adminGrantsOperates;
		this.htmlId = htmlId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public AdminGrants getAdminGrants() {
		return this.adminGrants;
	}

	public void setAdminGrants(AdminGrants adminGrants) {
		this.adminGrants = adminGrants;
	}

	public String getGrantName() {
		return this.grantName;
	}

	public void setGrantName(String grantName) {
		this.grantName = grantName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getGrantHref() {
		return this.grantHref;
	}

	public void setGrantHref(String grantHref) {
		this.grantHref = grantHref;
	}

	public Integer getGrantType() {
		return this.grantType;
	}

	public void setGrantType(Integer grantType) {
		this.grantType = grantType;
	}

	public String getGrantIcon() {
		return this.grantIcon;
	}

	public void setGrantIcon(String grantIcon) {
		this.grantIcon = grantIcon;
	}

	public Set getAdminGrantses() {
		return this.adminGrantses;
	}

	public void setAdminGrantses(Set adminGrantses) {
		this.adminGrantses = adminGrantses;
	}

	public Set getAdminGrantsOperates() {
		return this.adminGrantsOperates;
	}

	public void setAdminGrantsOperates(Set adminGrantsOperates) {
		this.adminGrantsOperates = adminGrantsOperates;
	}

}